package com.dt76.smallloanbackendservice.mapper.etao;

import com.dt76.smallloanbackendservice.pojo.etao.Role;

import java.util.List;

public interface RoleMapper {

    List<Role> getAllRole(Integer start,Integer size);

    Integer getTotalCount();

    Role getRoleById(Integer rId);

    Integer saveRole(Role role);

    Integer delRole(Integer rId);

    Integer updateRole(Role role);

    List<Role> getRoleBydId(Integer dId);
}
